<template>
	<view class="page">
		<view class="boxes flex col-center" @click="release">
			<image src="../../static/images/up.png" mode=""></image>
			<view class="m-l-34">高速收费站信息</view>
		</view>
	</view>
</template>

<script>
	const app = getApp();
	import { modal } from '@/utils/tools';
	export default {
		data() {
			return {
				
			}
		},
		onShow() {
			if(!app.globalData.ifshiming && uni.getStorageSync('token')){
				modal({
					title:'您还未实名认证!',
					msg:'去认证',
					stu:1,
					url:'/pages/main/main'
				})
			}
		},
		methods: {
			release(){
				console.log(uni.getStorageSync('token'))
				if(!uni.getStorageSync('token')){
					modal({
						title:'您还未登录!',
						msg:'去登录',
						url:'/pages/login/login'
					})
					return
				}
				uni.navigateTo({
					url:'/pages/upload/release/release'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.page{
	padding: 40rpx 45rpx;
	
	.boxes{
		width: 387rpx;
		box-sizing: border-box;
		padding: 50rpx 33rpx;
		border: 1px solid #4680D3;
		border-radius: 15rpx;
		color: #515151;
		image {
			width: 75rpx;
			height: 49rpx;
		}
	}
}
</style>
